<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: SimulatorGlobals Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_simulator_globals-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SimulatorGlobals Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Simulator-scope variables and parameters.  
 <a href="class_simulator_globals.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a60729941757392b224fd1dbdf1913d61"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a60729941757392b224fd1dbdf1913d61">SimulatorGlobals</a> ()</td></tr>
<tr class="separator:a60729941757392b224fd1dbdf1913d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f47aa4bc920efc68610f7100c948a6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#ad7f47aa4bc920efc68610f7100c948a6">SimulatorGlobals</a> (double <a class="el" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>, double <a class="el" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>, bool <a class="el" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>, std::string <a class="el" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>)</td></tr>
<tr class="separator:ad7f47aa4bc920efc68610f7100c948a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aa979a634da4f74c1061ea2913e4017"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a5aa979a634da4f74c1061ea2913e4017">SimulatorGlobals</a> (double <a class="el" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>, bool <a class="el" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>, std::string <a class="el" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>)</td></tr>
<tr class="separator:a5aa979a634da4f74c1061ea2913e4017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08da82e86d7c26d8f2498bd313f0e66e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a08da82e86d7c26d8f2498bd313f0e66e">getCurrentAbsoluteTime</a> () const </td></tr>
<tr class="separator:a08da82e86d7c26d8f2498bd313f0e66e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa57fa0ff9b9d44d9c3da2affb9c106e7"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#aa57fa0ff9b9d44d9c3da2affb9c106e7">getSimulationDuration</a> () const </td></tr>
<tr class="separator:aa57fa0ff9b9d44d9c3da2affb9c106e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36420d4588520a07dd979b149b90d492"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a36420d4588520a07dd979b149b90d492">isTraceOn</a> () const </td></tr>
<tr class="separator:a36420d4588520a07dd979b149b90d492"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dcbf1671fd7544dd4cec34bfe569366"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a1dcbf1671fd7544dd4cec34bfe569366">getVersion</a> () const </td></tr>
<tr class="separator:a1dcbf1671fd7544dd4cec34bfe569366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0957d343a552988eb29adce869d737"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a1e0957d343a552988eb29adce869d737">getRandomNumberGeneratorSeed</a> () const </td></tr>
<tr class="separator:a1e0957d343a552988eb29adce869d737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f30b6252c3682679c05233afbc0604d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a4f30b6252c3682679c05233afbc0604d">seedRandomNumberGenerator</a> (unsigned int <a class="el" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>)</td></tr>
<tr class="separator:a4f30b6252c3682679c05233afbc0604d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eae4ddb7a850f299f42490a6f8f0f43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a8eae4ddb7a850f299f42490a6f8f0f43">setSimulationAbsoluteStartTime</a> (double <a class="el" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>)</td></tr>
<tr class="separator:a8eae4ddb7a850f299f42490a6f8f0f43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29e97c64b5f7afad0523482d23f64728"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a29e97c64b5f7afad0523482d23f64728">setCurrentAbsoluteTime</a> (double <a class="el" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>)</td></tr>
<tr class="separator:a29e97c64b5f7afad0523482d23f64728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a139c8820dedfd73eb81e6ded58c0c792"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a139c8820dedfd73eb81e6ded58c0c792">getTokenNextId</a> ()</td></tr>
<tr class="separator:a139c8820dedfd73eb81e6ded58c0c792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4249f51c03094b902a91514aae13fb92"><td class="memItemLeft" align="right" valign="top">std::default_random_engine &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a4249f51c03094b902a91514aae13fb92">getRandomNumberGeneratorEngineInstance</a> ()</td></tr>
<tr class="separator:a4249f51c03094b902a91514aae13fb92"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ad6ffc9c995d5b01ff0e6c297fac81402"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">initializeRandomGeneratorRandomSeed</a> ()</td></tr>
<tr class="separator:ad6ffc9c995d5b01ff0e6c297fac81402"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a0e067cba06ad2ab4c9058468f738bb90"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a></td></tr>
<tr class="memdesc:a0e067cba06ad2ab4c9058468f738bb90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current simulation time.  <a href="#a0e067cba06ad2ab4c9058468f738bb90">More...</a><br/></td></tr>
<tr class="separator:a0e067cba06ad2ab4c9058468f738bb90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad194f1ed6929bbb0aff266f7c49c5eb1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a></td></tr>
<tr class="memdesc:ad194f1ed6929bbb0aff266f7c49c5eb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a "warm-up" time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime).  <a href="#ad194f1ed6929bbb0aff266f7c49c5eb1">More...</a><br/></td></tr>
<tr class="separator:ad194f1ed6929bbb0aff266f7c49c5eb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b97db2edc4767d785d2570fc8cd6d02"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a></td></tr>
<tr class="memdesc:a7b97db2edc4767d785d2570fc8cd6d02"><td class="mdescLeft">&#160;</td><td class="mdescRight">TRUE: prints tracing information; FALSE: does not print tracing information during simulation.  <a href="#a7b97db2edc4767d785d2570fc8cd6d02">More...</a><br/></td></tr>
<tr class="separator:a7b97db2edc4767d785d2570fc8cd6d02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4b80cea6868dcf79e8bfdd0b63c3f46"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a></td></tr>
<tr class="memdesc:ad4b80cea6868dcf79e8bfdd0b63c3f46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Simulator current version.  <a href="#ad4b80cea6868dcf79e8bfdd0b63c3f46">More...</a><br/></td></tr>
<tr class="separator:ad4b80cea6868dcf79e8bfdd0b63c3f46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac33d5dbf24ae6804cc3f9f8de2dc92e0"><td class="memItemLeft" align="right" valign="top">std::default_random_engine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">randomEngine</a></td></tr>
<tr class="memdesc:ac33d5dbf24ae6804cc3f9f8de2dc92e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Random Engine to be used by traffic generators.  <a href="#ac33d5dbf24ae6804cc3f9f8de2dc92e0">More...</a><br/></td></tr>
<tr class="separator:ac33d5dbf24ae6804cc3f9f8de2dc92e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf9496b56eb264e1abf5bfc8c7d2114"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a></td></tr>
<tr class="memdesc:acbf9496b56eb264e1abf5bfc8c7d2114"><td class="mdescLeft">&#160;</td><td class="mdescRight">The actual seed to use (or being used) for the random number generator.  <a href="#acbf9496b56eb264e1abf5bfc8c7d2114">More...</a><br/></td></tr>
<tr class="separator:acbf9496b56eb264e1abf5bfc8c7d2114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae6ee1fa9e0f463e77f040d4c35507a"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a></td></tr>
<tr class="memdesc:a0ae6ee1fa9e0f463e77f040d4c35507a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function <a class="el" href="class_simulator_globals.html#a139c8820dedfd73eb81e6ded58c0c792">getTokenNextId()</a>.  <a href="#a0ae6ee1fa9e0f463e77f040d4c35507a">More...</a><br/></td></tr>
<tr class="separator:a0ae6ee1fa9e0f463e77f040d4c35507a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Simulator-scope variables and parameters. </p>
<dl class="section user"><dt>Description</dt><dd>Simulator-scope variables and parameters will be here. Most important one is currentAbsoluteTime, which indicates the current, clock time of the simulation. It also includes resources to automatically generate unique token IDs and maintain a simulator-unique random number generator engine and seed.</dd></dl>
<p>Changelog: </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00159">159</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a60729941757392b224fd1dbdf1913d61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimulatorGlobals::SimulatorGlobals </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section author"><dt>Author</dt><dd>Marcos Portnoi </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 2013</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (C) 2013 University of Delaware. </dd>
<dd>
QCNSim uses elements of TARVOS simulator, Copyright (C) 2005, 2006, 2007 Marcos Portnoi. </dd></dl>
<dl class="section user"><dt></dt><dd>This file is part of QCNSim. QCNSim is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br/>
 QCNSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.<br/>
 You should have received a copy of the GNU Lesser General Public License along with QCNSim. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. Default Constructor </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00025">25</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;                                  : <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>(<a class="code" href="_simulator_globals_8h.html#aeb047409c886245fbe7396dded8e64e1">CURRENT_ABSOLUTE_TIME</a>), <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>(<a class="code" href="_simulator_globals_8h.html#a5a38a3b95c8ad61580bc6f40b04cfa88">SIMULATION_ABSOLUTE_START_TIME</a>), <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>(<a class="code" href="_simulator_globals_8h.html#a55e01d619354530787662976455af190">PRINT_TRACE_FLAG</a>), <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>(<a class="code" href="_simulator_globals_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">VERSION</a>), <a class="code" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a>(0) {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <a class="code" href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">initializeRandomGeneratorRandomSeed</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
<div class="ttc" id="_simulator_globals_8h_html_a55e01d619354530787662976455af190"><div class="ttname"><a href="_simulator_globals_8h.html#a55e01d619354530787662976455af190">PRINT_TRACE_FLAG</a></div><div class="ttdeci">#define PRINT_TRACE_FLAG</div><div class="ttdoc">default printTraceFlag </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00028">SimulatorGlobals.h:28</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a0ae6ee1fa9e0f463e77f040d4c35507a"><div class="ttname"><a href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">SimulatorGlobals::tokenInitialId</a></div><div class="ttdeci">unsigned int tokenInitialId</div><div class="ttdoc">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function getTokenNex...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00168">SimulatorGlobals.h:168</a></div></div>
<div class="ttc" id="_simulator_globals_8h_html_a5a38a3b95c8ad61580bc6f40b04cfa88"><div class="ttname"><a href="_simulator_globals_8h.html#a5a38a3b95c8ad61580bc6f40b04cfa88">SIMULATION_ABSOLUTE_START_TIME</a></div><div class="ttdeci">#define SIMULATION_ABSOLUTE_START_TIME</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00027">SimulatorGlobals.h:27</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad6ffc9c995d5b01ff0e6c297fac81402"><div class="ttname"><a href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">SimulatorGlobals::initializeRandomGeneratorRandomSeed</a></div><div class="ttdeci">void initializeRandomGeneratorRandomSeed()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00059">SimulatorGlobals.cpp:59</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad4b80cea6868dcf79e8bfdd0b63c3f46"><div class="ttname"><a href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">SimulatorGlobals::version</a></div><div class="ttdeci">std::string version</div><div class="ttdoc">Simulator current version. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00164">SimulatorGlobals.h:164</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a7b97db2edc4767d785d2570fc8cd6d02"><div class="ttname"><a href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">SimulatorGlobals::printTraceFlag</a></div><div class="ttdeci">bool printTraceFlag</div><div class="ttdoc">TRUE: prints tracing information; FALSE: does not print tracing information during simulation...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00163">SimulatorGlobals.h:163</a></div></div>
<div class="ttc" id="_simulator_globals_8h_html_aeb047409c886245fbe7396dded8e64e1"><div class="ttname"><a href="_simulator_globals_8h.html#aeb047409c886245fbe7396dded8e64e1">CURRENT_ABSOLUTE_TIME</a></div><div class="ttdeci">#define CURRENT_ABSOLUTE_TIME</div><div class="ttdoc">default currentAbsoluteTime </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00025">SimulatorGlobals.h:25</a></div></div>
<div class="ttc" id="_simulator_globals_8h_html_a1c6d5de492ac61ad29aec7aa9a436bbf"><div class="ttname"><a href="_simulator_globals_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">VERSION</a></div><div class="ttdeci">#define VERSION</div><div class="ttdoc">default version string </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00029">SimulatorGlobals.h:29</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad7f47aa4bc920efc68610f7100c948a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimulatorGlobals::SimulatorGlobals </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>currentAbsoluteTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>simulationAbsoluteStartTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>printTraceFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>version</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor with parameters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currentAbsoluteTime</td><td>Current simulation time. </td></tr>
    <tr><td class="paramname">simulationAbsoluteStartTime</td><td>Indicates the absolute time measurements should consider as the start of the simulation. </td></tr>
    <tr><td class="paramname">printTraceFlag</td><td>TRUE: prints tracing information; FALSE: does not print tracing information during simulation. </td></tr>
    <tr><td class="paramname">version</td><td>Simulator current version. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00037">37</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                                                                                                                                        : <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>(<a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>), <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>(<a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>), <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>(<a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>), <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>(<a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>), <a class="code" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a>(0) {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">initializeRandomGeneratorRandomSeed</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a0ae6ee1fa9e0f463e77f040d4c35507a"><div class="ttname"><a href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">SimulatorGlobals::tokenInitialId</a></div><div class="ttdeci">unsigned int tokenInitialId</div><div class="ttdoc">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function getTokenNex...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00168">SimulatorGlobals.h:168</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad6ffc9c995d5b01ff0e6c297fac81402"><div class="ttname"><a href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">SimulatorGlobals::initializeRandomGeneratorRandomSeed</a></div><div class="ttdeci">void initializeRandomGeneratorRandomSeed()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00059">SimulatorGlobals.cpp:59</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad4b80cea6868dcf79e8bfdd0b63c3f46"><div class="ttname"><a href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">SimulatorGlobals::version</a></div><div class="ttdeci">std::string version</div><div class="ttdoc">Simulator current version. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00164">SimulatorGlobals.h:164</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a7b97db2edc4767d785d2570fc8cd6d02"><div class="ttname"><a href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">SimulatorGlobals::printTraceFlag</a></div><div class="ttdeci">bool printTraceFlag</div><div class="ttdoc">TRUE: prints tracing information; FALSE: does not print tracing information during simulation...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00163">SimulatorGlobals.h:163</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a5aa979a634da4f74c1061ea2913e4017"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimulatorGlobals::SimulatorGlobals </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>currentAbsoluteTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>printTraceFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>version</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor with parameters.</p>
<p>Here, simulationAbsoluteStartTime defaults to currentAbsoluteTime.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currentAbsoluteTime</td><td>Current simulation time. </td></tr>
    <tr><td class="paramname">printTraceFlag</td><td>TRUE: prints tracing information; FALSE: does not print tracing information during simulation. </td></tr>
    <tr><td class="paramname">version</td><td>Simulator current version. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00051">51</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                                                                                                    : <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>(<a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>), <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>(<a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>), <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>(<a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>), <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>(<a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>), <a class="code" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a>(0) {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">initializeRandomGeneratorRandomSeed</a>();</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a0ae6ee1fa9e0f463e77f040d4c35507a"><div class="ttname"><a href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">SimulatorGlobals::tokenInitialId</a></div><div class="ttdeci">unsigned int tokenInitialId</div><div class="ttdoc">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function getTokenNex...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00168">SimulatorGlobals.h:168</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad6ffc9c995d5b01ff0e6c297fac81402"><div class="ttname"><a href="class_simulator_globals.html#ad6ffc9c995d5b01ff0e6c297fac81402">SimulatorGlobals::initializeRandomGeneratorRandomSeed</a></div><div class="ttdeci">void initializeRandomGeneratorRandomSeed()</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8cpp_source.html#l00059">SimulatorGlobals.cpp:59</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad4b80cea6868dcf79e8bfdd0b63c3f46"><div class="ttname"><a href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">SimulatorGlobals::version</a></div><div class="ttdeci">std::string version</div><div class="ttdoc">Simulator current version. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00164">SimulatorGlobals.h:164</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
<div class="ttc" id="class_simulator_globals_html_a7b97db2edc4767d785d2570fc8cd6d02"><div class="ttname"><a href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">SimulatorGlobals::printTraceFlag</a></div><div class="ttdeci">bool printTraceFlag</div><div class="ttdoc">TRUE: prints tracing information; FALSE: does not print tracing information during simulation...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00163">SimulatorGlobals.h:163</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a08da82e86d7c26d8f2498bd313f0e66e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double SimulatorGlobals::getCurrentAbsoluteTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns current absolute time.</p>
<dl class="section return"><dt>Returns</dt><dd>Current absolute time. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00070">70</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                                                      {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4249f51c03094b902a91514aae13fb92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::default_random_engine &amp; SimulatorGlobals::getRandomNumberGeneratorEngineInstance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a reference to the random number generator engine defined here.</p>
<p>Typically for use by traffic generators, and allowing for keeping a unique seed per simulation.</p>
<dl class="section return"><dt>Returns</dt><dd>Reference to the random number generator. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00082">82</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                                                                                   {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">randomEngine</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_ac33d5dbf24ae6804cc3f9f8de2dc92e0"><div class="ttname"><a href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">SimulatorGlobals::randomEngine</a></div><div class="ttdeci">std::default_random_engine randomEngine</div><div class="ttdoc">The Random Engine to be used by traffic generators. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00166">SimulatorGlobals.h:166</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1e0957d343a552988eb29adce869d737"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int SimulatorGlobals::getRandomNumberGeneratorSeed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the current random generator seed.</p>
<dl class="section return"><dt>Returns</dt><dd>seed. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00123">123</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                                                                  {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_acbf9496b56eb264e1abf5bfc8c7d2114"><div class="ttname"><a href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">SimulatorGlobals::seed</a></div><div class="ttdeci">unsigned int seed</div><div class="ttdoc">The actual seed to use (or being used) for the random number generator. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00167">SimulatorGlobals.h:167</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa57fa0ff9b9d44d9c3da2affb9c106e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double SimulatorGlobals::getSimulationDuration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the simulation duration in time.</p>
<p>The simulation duration is the current absolute time minus the simulation absolute start time. If the simulation start time is different than zero (when the simulation typically starts), then the time elapsed between zero and simulation duration is considered the "warm-time" period and will be discarded when computing certain statistics, such as facility utilization.</p>
<dl class="section return"><dt>Returns</dt><dd>Simulation duration. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00096">96</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                                                     {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a> - <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a139c8820dedfd73eb81e6ded58c0c792"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int SimulatorGlobals::getTokenNextId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the next unique token ID.</p>
<p>This function generates incremental token IDs. To assure uniqueness for one instance of simulation, always use this function to generate token IDs.</p>
<dl class="section return"><dt>Returns</dt><dd>Unique, incremental token ID. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00171">171</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                                               {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordflow">return</span> ++<a class="code" href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">tokenInitialId</a>;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0ae6ee1fa9e0f463e77f040d4c35507a"><div class="ttname"><a href="class_simulator_globals.html#a0ae6ee1fa9e0f463e77f040d4c35507a">SimulatorGlobals::tokenInitialId</a></div><div class="ttdeci">unsigned int tokenInitialId</div><div class="ttdoc">Initial ID for tokens generated in this simulator. To assure unique IDs, use the function getTokenNex...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00168">SimulatorGlobals.h:168</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1dcbf1671fd7544dd4cec34bfe569366"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string SimulatorGlobals::getVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the simulator version.</p>
<dl class="section return"><dt>Returns</dt><dd>Version. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00114">114</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                                             {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">version</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_ad4b80cea6868dcf79e8bfdd0b63c3f46"><div class="ttname"><a href="class_simulator_globals.html#ad4b80cea6868dcf79e8bfdd0b63c3f46">SimulatorGlobals::version</a></div><div class="ttdeci">std::string version</div><div class="ttdoc">Simulator current version. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00164">SimulatorGlobals.h:164</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad6ffc9c995d5b01ff0e6c297fac81402"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SimulatorGlobals::initializeRandomGeneratorRandomSeed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initializes the Random Number Generator with a Random Seed. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00059">59</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                                                           {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    std::random_device randomDevice; <span class="comment">// Moved from class member variable to here; it seems this must be instantiated and the class constructor is not doing it.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a> = randomDevice();</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">randomEngine</a>.seed(this-&gt;<a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>); <span class="comment">// Seeds Random Engine with random seed.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_acbf9496b56eb264e1abf5bfc8c7d2114"><div class="ttname"><a href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">SimulatorGlobals::seed</a></div><div class="ttdeci">unsigned int seed</div><div class="ttdoc">The actual seed to use (or being used) for the random number generator. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00167">SimulatorGlobals.h:167</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ac33d5dbf24ae6804cc3f9f8de2dc92e0"><div class="ttname"><a href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">SimulatorGlobals::randomEngine</a></div><div class="ttdeci">std::default_random_engine randomEngine</div><div class="ttdoc">The Random Engine to be used by traffic generators. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00166">SimulatorGlobals.h:166</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a36420d4588520a07dd979b149b90d492"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SimulatorGlobals::isTraceOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns tracing flag status.</p>
<dl class="section return"><dt>Returns</dt><dd>True if tracing is on; false if tracing is off. </dd></dl>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00105">105</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;                                       {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">printTraceFlag</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a7b97db2edc4767d785d2570fc8cd6d02"><div class="ttname"><a href="class_simulator_globals.html#a7b97db2edc4767d785d2570fc8cd6d02">SimulatorGlobals::printTraceFlag</a></div><div class="ttdeci">bool printTraceFlag</div><div class="ttdoc">TRUE: prints tracing information; FALSE: does not print tracing information during simulation...</div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00163">SimulatorGlobals.h:163</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4f30b6252c3682679c05233afbc0604d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimulatorGlobals::seedRandomNumberGenerator </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>seed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets seed for the random number generator engine and seeds the random number generator.</p>
<p>The purpose of this function is basically allow for setting a fixed seed for the random number generator, such that a deterministic pseudorandom sequence is established. This might be useful for debugging purposes, or to reproduce simulator runs from the same initial parameters. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00147">147</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                                                                  {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a> = <a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>; <span class="comment">// Sets the seed.</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">randomEngine</a>.seed(this-&gt;<a class="code" href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">seed</a>); <span class="comment">// Seeds the random engine.</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_acbf9496b56eb264e1abf5bfc8c7d2114"><div class="ttname"><a href="class_simulator_globals.html#acbf9496b56eb264e1abf5bfc8c7d2114">SimulatorGlobals::seed</a></div><div class="ttdeci">unsigned int seed</div><div class="ttdoc">The actual seed to use (or being used) for the random number generator. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00167">SimulatorGlobals.h:167</a></div></div>
<div class="ttc" id="class_simulator_globals_html_ac33d5dbf24ae6804cc3f9f8de2dc92e0"><div class="ttname"><a href="class_simulator_globals.html#ac33d5dbf24ae6804cc3f9f8de2dc92e0">SimulatorGlobals::randomEngine</a></div><div class="ttdeci">std::default_random_engine randomEngine</div><div class="ttdoc">The Random Engine to be used by traffic generators. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00166">SimulatorGlobals.h:166</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a29e97c64b5f7afad0523482d23f64728"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimulatorGlobals::setCurrentAbsoluteTime </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>currentAbsoluteTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the simulation current absolute time.</p>
<p>The current absolute time is the "simulation clock". This function sets this clock, typically called from a "caused" event in the event chain. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00159">159</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                                                                        {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a> = <a class="code" href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">currentAbsoluteTime</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_a0e067cba06ad2ab4c9058468f738bb90"><div class="ttname"><a href="class_simulator_globals.html#a0e067cba06ad2ab4c9058468f738bb90">SimulatorGlobals::currentAbsoluteTime</a></div><div class="ttdeci">double currentAbsoluteTime</div><div class="ttdoc">Current simulation time. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00161">SimulatorGlobals.h:161</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a8eae4ddb7a850f299f42490a6f8f0f43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimulatorGlobals::setSimulationAbsoluteStartTime </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>simulationAbsoluteStartTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the simulation absolute start time.</p>
<p>The simulation duration is the current absolute time minus the simulation absolute start time. If the simulation start time is different than zero (when the simulation typically starts), then the time elapsed between zero and simulation duration is considered the "warm-time" period and will be discarded when computing certain statistics, such as facility utilization. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8cpp_source.html#l00135">135</a> of file <a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                                                                                        {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    this-&gt;<a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a> = <a class="code" href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">simulationAbsoluteStartTime</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;}</div>
<div class="ttc" id="class_simulator_globals_html_ad194f1ed6929bbb0aff266f7c49c5eb1"><div class="ttname"><a href="class_simulator_globals.html#ad194f1ed6929bbb0aff266f7c49c5eb1">SimulatorGlobals::simulationAbsoluteStartTime</a></div><div class="ttdeci">double simulationAbsoluteStartTime</div><div class="ttdoc">Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a &amp;quot;warm-up&amp;quot; time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00162">SimulatorGlobals.h:162</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a0e067cba06ad2ab4c9058468f738bb90"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double SimulatorGlobals::currentAbsoluteTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current simulation time. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00161">161</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b97db2edc4767d785d2570fc8cd6d02"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SimulatorGlobals::printTraceFlag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>TRUE: prints tracing information; FALSE: does not print tracing information during simulation. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00163">163</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac33d5dbf24ae6804cc3f9f8de2dc92e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::default_random_engine SimulatorGlobals::randomEngine</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The Random Engine to be used by traffic generators. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00166">166</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="acbf9496b56eb264e1abf5bfc8c7d2114"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int SimulatorGlobals::seed</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The actual seed to use (or being used) for the random number generator. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00167">167</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad194f1ed6929bbb0aff266f7c49c5eb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double SimulatorGlobals::simulationAbsoluteStartTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indicates the absolute time measurements should consider as the start of the simulation. This allows a simulation to have a "warm-up" time, which statistics will disregard. To use, just set this variable to the time after which statistics should be calculated, e.g., if set to 5.0, busy times and utilization measurements before 5.0 will be disregarded (by doing the subtraction currentAbsoluteTime - measurementsAbsoluteStartTime). </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00162">162</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ae6ee1fa9e0f463e77f040d4c35507a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int SimulatorGlobals::tokenInitialId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initial ID for tokens generated in this simulator. To assure unique IDs, use the function <a class="el" href="class_simulator_globals.html#a139c8820dedfd73eb81e6ded58c0c792">getTokenNextId()</a>. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00168">168</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad4b80cea6868dcf79e8bfdd0b63c3f46"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string SimulatorGlobals::version</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Simulator current version. </p>

<p>Definition at line <a class="el" href="_simulator_globals_8h_source.html#l00164">164</a> of file <a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>QcnSim/<a class="el" href="_simulator_globals_8h_source.html">SimulatorGlobals.h</a></li>
<li>QcnSim/<a class="el" href="_simulator_globals_8cpp_source.html">SimulatorGlobals.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 15 2014 10:33:17 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
